/*
 *  Logger.cpp
 *  tractionedge
 *
 *  Created by Steven Hamilton on 4/10/10.
 *  Copyright 2010 n/a. All rights reserved.
 *
 */

#include "Logger.h"
#include "Utility.h"

Logger* Logger::instance()
{
	static Logger instance;
	return &instance;
}

void Logger::log(std::string const str)
{
	std::cout << str << std::endl;
}

void Logger::log(int id, std::string const str)
{
	std::string string="id:"+tool.stringFromInt(id)+" "+str;
	std::cout << string << std::endl;
}